﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Eloquera.Client;
using _430GroupProject;
using System.Collections;

namespace ClearDB
{
    class Program
    {
        static void Main(string[] args)
        {
            //DB db = new DB("server=64.113.91.69:43962;user=cs430;password=cs430;options=none;");
            DB db = new DB("server=localhost:43962;user=cs430;password=cs430;options=none;");
            

            db.DeleteDatabase("430DB", true);
            db.CreateDatabase("430DB");

            db.OpenDatabase("430DB");
            IEnumerable res = db.ExecuteQuery("SELECT User");

            db.Close();
        }
    }
}
